﻿<?php
/**  
* Module.php
* 
*/


require_once(CLASS_PATH."/__autoload.php");

class Module
{
   protected $page;

   public function __construct($page)
   {
      $this->page = $page;
   }


//------------- 메서드(모듈생성) 

   public function create()
   {
      $this->page->add_to_css_linked($this->get_css_linked());
      $this->page->add_to_css($this->get_css());

      $this->page->add_to_js_linked($this->get_js_linked());
      $this->page->add_to_js($this->get_js());

      return $this->get_content();
   }


//------------- 추상메서드(하위클래스에서 상속 후 오버라이드) 

   public function get_css_linked()
   {
   }

   public function get_css()
   {
   }

   public function get_js_linked()
   {
   }

   public function get_js()
   {
   }

   public function get_content()
   {
   }
      
}
?>
